#include "../../../../mac/mac.h"

int8 retry_init()
{
    return mac_retry_init();
}

int8 retry_alloc(uint8 dsn)
{
    mac_retry_t *retry;
    retry = mac_retry_alloc();
    if (retry == NULL) {
        return MAC_ERR;
    }
    retry->dsn = dsn;

    return MAC_OK;
}

int8 retry_free(uint8 dsn)
{
    return mac_retry_free(dsn);
}

int8 retry_find(uint8 dsn)
{
    if (mac_retry_find(dsn)) {
        return MAC_OK;
    } else {
        return MAC_ERR;
    }
}


